(function($) {
	var o = document.getElementById("flashbox"),
		i = window.location.href.match(/curid=(\d+)/);
	if (i) {
		var a = document.createElement("script");
		a.src = "https://mixer.video.iqiyi.com/jp/mixin/videos/" + i[1], a.id = "vInfo_API", vInfo_API = document.getElementById("vInfo_API"), vInfo_API ? (document.head.removeChild(vInfo_API), document.head.appendChild(a)) : document.head.appendChild(a), a.onload = function() {
			o ? o.src = localStorage.Wle_Last + tvInfoJs.url : vip_window.location.href = localStorage.Wle_Last + tvInfoJs.url
		}
	}
	var l = document.createElement("style");
	l.id = "hide_vip_tip", l.innerHTML = '[style*="visibility"][style*="visible"][style*="absolute"]{display:none!important}', document.getElementById("hide_vip_tip") || document.head.appendChild(l);
	var n = setInterval(function() {
		var e = document.querySelectorAll('.play-list-item,.select-item,.juji-list,[data-sourcelatest-elem="list"]');
		e.length > 0 && ([].forEach.call(e, function(e) {
			e.onclick = function(e) {
				setTimeout(function() {
					var e = window.location.href.match(/curid=(\d+)/) || window._qyv_info.slice(-1)[0].match(/dataid=(\d+)/) || window._qyv_info.slice(-1)[0].match(/video\/baseinfo\/(\d+)/);
					e && Q.get("https://mixer.video.iqiyi.com/jp/mixin/videos/" + e[1], function(e) {
						o ? o.src = localStorage.Wle_Last + tvInfoJs.url : window.open(localStorage.Wle_Last + tvInfoJs.url, "vip_window", "width=1280,height=720,scrollbars=no,toolba=no")
					}, "script")
				}, 2e3)
			}
		}), clearInterval(n))
	}, 500);
})();